<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>

<table id="listVehicleTravelStrategyList" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<td class="rvimscheckbox"><input type="checkbox" onclick="selectAllForList('listVehicleTravelStrategyList')"></td>
			<td>名称</td>
			<td>信号灯状态</td>
			<td>行驶方向</td>
			<td>是否可继续通行</td>
			<td>操作</td>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${page.results}" var="vehicleTravelStrategy">
			<tr id="objId_${vehicleTravelStrategy.id}">
				<td><input type="checkbox" name="vehicleTravelStrategyIds" value="<c:out value='${vehicleTravelStrategy.id}'/>"></td>
				<td><c:out value="${vehicleTravelStrategy.name}"/></td>
				<td><c:out value="${vehicleTravelStrategy.signalLampStatus.name}"/></td>
				<td><c:out value="${vehicleTravelStrategy.travelDirection.name}"/></td>
				<td><c:out value="${vehicleTravelStrategy.canmove==1? '是' : '否'}"/></td>
				<td class="rvimsoperation">
					<a href="javascript:ajaxShowVehicleTravelStrategyEdit('${vehicleTravelStrategy.id}')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeleteVehicleTravelStrategyById('${vehicleTravelStrategy.id}')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<div id="rvimsPaginationPanel"></div>
<div id="dialog2"></div>
<script type="text/javascript">
	setTableCSS("listVehicleTravelStrategyList");
	setPagination("rvimsPaginationPanel","${page.totalPageCount}","${page.pageNum}","${page.pageSize}","${page.totalCount}",ajaxFindVehicleTravelStrategySearchList);
</script>